package com.mzplayer.utils;

import android.content.Context;
import android.content.res.Resources;

public final class RS {
    private static Resources resources;
    private static String packageName;

    public static void init(Context context) {
        resources = context.getResources();
        packageName = context.getPackageName();
    }

    public static final class anim {
        public static final int mz_right_hide = resources.getIdentifier("mz_right_hide","anim",packageName);
        public static final int mz_right_show = resources.getIdentifier("mz_right_show","anim",packageName);

        private anim() {
        }
    }

    public static final class color {
        public static final int ctl_bg = resources.getIdentifier("ctl_bg","color",packageName);
        public static final int ctl_bg_alpha = resources.getIdentifier("ctl_bg_alpha","color",packageName);
        public static final int ctl_fore = resources.getIdentifier("ctl_fore","color",packageName);
        public static final int ctl_option = resources.getIdentifier("ctl_option","color",packageName);
        public static final int ctl_option_alpha = resources.getIdentifier("ctl_option_alpha","color",packageName);
        public static final int mz_selector_option_text = resources.getIdentifier("mz_selector_option_text","color",packageName);

        private color() {
        }
    }

    public static final class dimen {
        public static final int option_font_size = resources.getIdentifier("option_font_size","dimen",packageName);
        public static final int option_margin = resources.getIdentifier("option_margin","dimen",packageName);
        public static final int option_margin_small = resources.getIdentifier("option_margin_small","dimen",packageName);
        public static final int option_size = resources.getIdentifier("option_size","dimen",packageName);
        public static final int seek_padding_w = resources.getIdentifier("seek_padding_w","dimen",packageName);
        public static final int seek_padding_h = resources.getIdentifier("seek_padding_h","dimen",packageName);

        private dimen() {
        }
    }

    public static final class drawable {
        public static final int mz_bg_battery = resources.getIdentifier("mz_bg_battery","drawable",packageName);
        public static final int mz_bg_battery_charge = resources.getIdentifier("mz_bg_battery_charge","drawable",packageName);
        public static final int mz_bg_bright = resources.getIdentifier("mz_bg_bright","drawable",packageName);
        public static final int mz_bg_play_back = resources.getIdentifier("mz_bg_play_back","drawable",packageName);
        public static final int mz_bg_play_go = resources.getIdentifier("mz_bg_play_go","drawable",packageName);
        public static final int mz_bg_volume = resources.getIdentifier("mz_bg_volume","drawable",packageName);
        public static final int mz_bg_volume_close = resources.getIdentifier("mz_bg_volume_close","drawable",packageName);
        public static final int mz_selector_option_bg = resources.getIdentifier("mz_selector_option_bg","drawable",packageName);
        public static final int mz_selector_pause = resources.getIdentifier("mz_selector_pause","drawable",packageName);
        public static final int mz_selector_play = resources.getIdentifier("mz_selector_play","drawable",packageName);
        public static final int mz_selector_to_tiny = resources.getIdentifier("mz_selector_to_tiny","drawable",packageName);

        private drawable() {
        }
    }

    public static final class id {
        public static final int controller = resources.getIdentifier("controller","id",packageName);
        public static final int controller_bottom = resources.getIdentifier("controller_bottom","id",packageName);
        public static final int controller_bottom_flag = resources.getIdentifier("controller_bottom_flag","id",packageName);
        public static final int controller_bottom_goto_full = resources.getIdentifier("controller_bottom_goto_full","id",packageName);
        public static final int controller_bottom_left_diy = resources.getIdentifier("controller_bottom_left_diy","id",packageName);
        public static final int controller_bottom_play = resources.getIdentifier("controller_bottom_play","id",packageName);
        public static final int controller_bottom_right_diy = resources.getIdentifier("controller_bottom_right_diy","id",packageName);
        public static final int controller_bottom_seekbar = resources.getIdentifier("controller_bottom_seekbar","id",packageName);
        public static final int controller_lock = resources.getIdentifier("controller_lock","id",packageName);
        public static final int controller_top = resources.getIdentifier("controller_top","id",packageName);
        public static final int controller_top_back = resources.getIdentifier("controller_top_back","id",packageName);
        public static final int controller_top_battery = resources.getIdentifier("controller_top_battery","id",packageName);
        public static final int controller_top_bt = resources.getIdentifier("controller_top_bt","id",packageName);
        public static final int controller_top_right_diy = resources.getIdentifier("controller_top_right_diy","id",packageName);
        public static final int controller_top_system_time = resources.getIdentifier("controller_top_system_time","id",packageName);
        public static final int controller_top_tiny_close = resources.getIdentifier("controller_top_tiny_close","id",packageName);
        public static final int controller_top_tiny_resume = resources.getIdentifier("controller_top_tiny_resume","id",packageName);
        public static final int controller_top_title = resources.getIdentifier("controller_top_title","id",packageName);
        public static final int controller_unlock = resources.getIdentifier("controller_unlock","id",packageName);
        public static final int loading_flag = resources.getIdentifier("loading_flag","id",packageName);
        public static final int seek_flag = resources.getIdentifier("seek_flag","id",packageName);
        public static final int seek_img = resources.getIdentifier("seek_img","id",packageName);
        public static final int vl_img = resources.getIdentifier("vl_img","id",packageName);
        public static final int vl_progress = resources.getIdentifier("vl_progress","id",packageName);

        private id() {
        }
    }

    public static final class layout {
        public static final int mz_controller = resources.getIdentifier("mz_controller","layout",packageName);
        public static final int mz_loading = resources.getIdentifier("mz_loading","layout",packageName);
        public static final int mz_seek = resources.getIdentifier("mz_seek","layout",packageName);
        public static final int mz_vl = resources.getIdentifier("mz_vl","layout",packageName);

        private layout() {
        }
    }

    private RS() {
    }
}